<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class TongGoodsGroup extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'tong_goods_group';

    protected $guarded = [];
    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function values(){
        return $this->hasMany(TongGoodsGroupValue::class,'goods_group_id','id');
    }
}
